package com.fr.plugin.oauth2;

import java.io.Serializable;

public class OauthLoginInfo implements Serializable {
        private static final long serialVersionUID = -5100721982500534486L;
        String userName;
        String accessToken;
        String decisionToken;
        String code;
        boolean decisionLogout;
 
        public OauthLoginInfo() {
        }
 
        public OauthLoginInfo(String userName, String accessToken, String decisionToken) {
            this.userName = userName;
            this.accessToken = accessToken;
            this.decisionToken = decisionToken;
        }
 
        public String getUserName() {
            return userName;
        }
 
        public void setUserName(String userName) {
            this.userName = userName;
        }
 
        public String getAccessToken() {
            return accessToken;
        }
 
        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }
 
        public String getDecisionToken() {
            return decisionToken;
        }
 
        public void setDecisionToken(String decisionToken) {
            this.decisionToken = decisionToken;
        }
 
        public String getCode() {
            return code;
        }
 
        public void setCode(String code) {
            this.code = code;
        }
 
        public boolean isDecisionLogout() {
            return decisionLogout;
        }
 
        public void setDecisionLogout(boolean decisionLogout) {
            this.decisionLogout = decisionLogout;
        }
 
        public OauthLoginInfo decisionLogout(boolean decisionLogout) {
            this.decisionLogout = decisionLogout;
            return this;
        }
    }